package com.hznu.jspFinal.service;


import com.hznu.jspFinal.dao.CourseStudentMapper;
import com.hznu.jspFinal.entity.Course;
import com.hznu.jspFinal.entity.CourseStudent;
import com.hznu.jspFinal.entity.CourseTeacher;
import com.hznu.jspFinal.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author : wp
 * time : 2018/06/07
 */

public interface CourseStudentService {

    int addOne(CourseStudent courseStudent);

    int delete(Integer id);

    int update(CourseStudent courseStudent);

    CourseStudent findById(Integer id);

    List<User> findStudentsByCourseTeacherid(Integer id);

    List<CourseTeacher> findCoursesByStudentid(Integer id);

}
